package cn.xwlin.mapper;

import cn.xwlin.entity.TicketInProgressInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TicketInProgressInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TicketInProgressInfo record);

    int insertSelective(TicketInProgressInfo record);

    TicketInProgressInfo selectByPrimaryKey(Long id);

    TicketInProgressInfo selectByUserId(@Param("userId") String userId);

    int updateByPrimaryKeySelective(TicketInProgressInfo record);

    int createMatchOrderToUpdate(TicketInProgressInfo record);

    int updateByPrimaryKey(TicketInProgressInfo record);

    List<TicketInProgressInfo> listToDeal(@Param("mod") Integer mod, @Param("modNo") Integer modNo, @Param("count") Integer count);
}